package cn.xmoit.flowable.mapper;

import cn.xmoit.flowable.model.Role;
import cn.xmoit.flowable.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author fangyy
 */
@Mapper
public interface UserMapper {

	User loadUserByUsername(String username);

	List<Role> getUserRolesByUserId(Integer uid);

	List<User> getAllUsers();

}
